import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner num = new Scanner(System.in);
        int a = 1;
        int n = num.nextInt();
        System.out.println(a<<n);
    }
}
